package com.ruoyi.nongjt.service;

import com.ruoyi.nongjt.domain.pojo.NjtUserRegister;

import java.util.List;

public interface NjtUserRegisterService {
    List<NjtUserRegister> getNjtUserRegisterList(NjtUserRegister njtUserRegister);

    int updateUserRegister(NjtUserRegister njtUserRegister);

    int deleteUserRegister(Long id);

    int alertUserRegister(Long id);

    NjtUserRegister userLogin(NjtUserRegister njtUserRegister);

    NjtUserRegister getUserByPhone(String phone);

    int insertNjtUserRegister(NjtUserRegister userRegister);
    /**
     * 根据手机号重置用户密码
     */
    int resetPasswordByPhone(String mobilePhone, String newPassword);
}
